package com.lc.zpyh.http.request;

import com.hjq.http.config.IRequestApi;

public class SelectByNamedApi implements IRequestApi {
    private String merchantid;
    private String     name;
    private String pageNum;
    private String    pageSize;
    private String userId;

    public SelectByNamedApi setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public SelectByNamedApi setMerchantid(String merchantid) {
        this.merchantid = merchantid;
        return this;
    }

    public SelectByNamedApi setName(String name) {
        this.name = name;
        return this;
    }

    public SelectByNamedApi setPageNum(String pageNum) {
        this.pageNum = pageNum;
        return this;
    }

    public SelectByNamedApi setPageSize(String pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    @Override
    public String getApi() {
        return "app/commodity/selectByName";
    }
}
